import 'package:love_newf/generated/json/base/json_field.dart';
import 'package:love_newf/generated/json/room_prop_model.g.dart';
import 'dart:convert';
export 'package:love_newf/generated/json/room_prop_model.g.dart';

@JsonSerializable()
class RoomPropModel {
	int id = 0;
	String name = '';
	String iconUrl = '';
	String effectUrl = '';
	int effectType = 0;
	int expireDay = 0;
	int rosePrice = 0;
	int action = 0;
	String remark = '';
	int type = 0;
	int loversGrade = 0;
	int sell = 0;
	int orderSort = 0;
	int tag = 0;

	RoomPropModel();

	factory RoomPropModel.fromJson(Map<String, dynamic> json) => $RoomPropModelFromJson(json);

	Map<String, dynamic> toJson() => $RoomPropModelToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}